package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yc.entity.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 专业信息;
 * @date : 2023-6-28
 */
@Data
@ApiModel(value = "专业信息",description = "")
@TableName("major_info")
public class MajorInfo extends BaseEntity implements Serializable,Cloneable{
    /** 主键 */
    @ApiModelProperty(name = "主键",notes = "")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id ;
    /** 专业名 */
    @ApiModelProperty(name = "专业名",notes = "")
    private String mname ;
    /** 专业简称 */
    @ApiModelProperty(name = "专业简称",notes = "")
    private String mshort ;
}
